﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SecurableWebFormWizard
{
    public partial class WindowsServiceWizardDialog : Form
    {
        public string ServiceName 
        {
            get { return this.txtServiceName.Text; }
            set { this.txtServiceName.Text = value; }
        }

        public string Description
        {
            get { return this.txtDescription.Text; }
            set { this.txtDescription.Text = value; }
        }

        public string DisplayName
        {
            get { return this.txtDisplayName.Text; }
            set { this.txtDisplayName.Text = value; }
        }

        public string Account
        {
            get { return this.cmbAccounts.Text; }
            set { this.cmbAccounts.Text = value; }
        }

        public string UserName
        {
            get { return this.txtUserName.Text; }
            set { this.txtUserName.Text = value; }
        }

        public string Password
        {
            get { return this.txtPassword.Text; }
            set { this.txtPassword.Text = value; }
        }

        public string WorkerThreadRestartDelay
        {
            get { return this.txtWorkerThreadRestartDelay.Text; }
            set { this.txtWorkerThreadRestartDelay.Text = value; }
        }

        public WindowsServiceWizardDialog()
        {
            InitializeComponent();
        }

        private void WindowsServiceWizardDialog_Load(object sender, EventArgs e)
        {

        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
